/*
 * @Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @Date: 2025-06-10 15:02:14
 * @LastEditors: jqm123 2289662078@qq.com
 * @LastEditTime: 2025-09-03 08:39:12
 * @FilePath: /anxinxiu/src/main.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "amfe-flexible";
import "amfe-flexible/index.js";
import "@/utils/rem.js";
import Vant from "vant";
import "@/style/style.less";
import "vant/lib/index.css";
import "vant/lib/icon/local.css";
import { Lazyload } from "vant";
import VueLuckyCanvas from "@lucky-canvas/vue";
import VConsole from "vconsole";
import { isZxcxAPP } from "./utils/zxcxWebkits";

Vue.use(Vant).use(Lazyload).use(VueLuckyCanvas);
if (process.env.NODE_ENV !== "production" && isZxcxAPP()) {
  const vConsole = new VConsole({
    defaultPlugins: ["system", "network", "element", "storage"], // 启用核心功能模块
  });
  Vue.prototype.$vConsole = vConsole; // 挂载到Vue实例
}
// const vConsole = new VConsole({
//   defaultPlugins: ["system", "network", "element", "storage"], // 启用核心功能模块
// });
// Vue.prototype.$vConsole = vConsole; // 挂载到Vue实例
// Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
